package com.iwm.qa.mdm.model;

import java.util.List;

/**
 * 设备信息类
 * Created by zhaohaiyang on 2017/12/21.
 */

public class Device {

    /**
     * status : 0
     * data : [{"deviceName":"OPPRO R7sm","deviceAssetNum":"WMZQ001204","osType":"android","versionType":"5.1.1","deviceResolution":"1080*1920","remark":null,"deviceDept":null,"deviceBelongs":null},{"deviceName":"iphone7 plus","deviceAssetNum":"WM00000152","osType":"IOS","versionType":"11.0","deviceResolution":"1920*1080","remark":null,"deviceDept":null,"deviceBelongs":null}]
     */

    private int status;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public Device(int status, List<DataBean> data) {
        this.status = status;
        this.data = data;
    }

    @Override
    public String toString() {
        return "Device{" +
                "status=" + status +
                ", data='" + data + '\'' +
                '}';
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "deviceName='" + deviceName + '\'' +
                    ", deviceAssetNum='" + deviceAssetNum + '\'' +
                    ", osType='" + osType + '\'' +
                    ", versionType='" + versionType + '\'' +
                    ", deviceResolution='" + deviceResolution + '\'' +
                    ", remark=" + remark +
                    ", deviceDept=" + deviceDept +
                    ", deviceBelongs=" + deviceBelongs +
                    '}';
        }

        /**
         * deviceName : OPPRO R7sm
         * deviceAssetNum : WMZQ001204
         * osType : android
         * versionType : 5.1.1
         * deviceResolution : 1080*1920
         * remark : null
         * deviceDept : null
         * deviceBelongs : null
         */

        private String deviceName;
        private String deviceAssetNum;
        private String osType;
        private String versionType;
        private String deviceResolution;
        private String remark;
        private String deviceDept;
        private String deviceBelongs;

        public DataBean(String deviceName, String deviceAssetNum, String osType, String versionType, String deviceResolution, String remark, String deviceDept, String deviceBelongs) {
            this.deviceName = deviceName;
            this.deviceAssetNum = deviceAssetNum;
            this.osType = osType;
            this.versionType = versionType;
            this.deviceResolution = deviceResolution;
            this.remark = remark;
            this.deviceDept = deviceDept;
            this.deviceBelongs = deviceBelongs;
        }

        public String getDeviceName() {
            return deviceName;
        }

        public void setDeviceName(String deviceName) {
            this.deviceName = deviceName;
        }

        public String getDeviceAssetNum() {
            return deviceAssetNum;
        }

        public void setDeviceAssetNum(String deviceAssetNum) {
            this.deviceAssetNum = deviceAssetNum;
        }

        public String getOsType() {
            return osType;
        }

        public void setOsType(String osType) {
            this.osType = osType;
        }

        public String getVersionType() {
            return versionType;
        }

        public void setVersionType(String versionType) {
            this.versionType = versionType;
        }

        public String getDeviceResolution() {
            return deviceResolution;
        }

        public void setDeviceResolution(String deviceResolution) {
            this.deviceResolution = deviceResolution;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getDeviceDept() {
            return deviceDept;
        }

        public void setDeviceDept(String deviceDept) {
            this.deviceDept = deviceDept;
        }

        public String getDeviceBelongs() {
            return deviceBelongs;
        }

        public void setDeviceBelongs(String deviceBelongs) {
            this.deviceBelongs = deviceBelongs;
        }
    }
}
